package com.janal.model.user;

import java.sql.Connection;

/**
 * @author Lenovo
 */
public interface UserDao {
    public User getLoginUser(Connection conn, String usercode) throws Exception;

    public boolean setRegisterUser(Connection conn, User user) throws Exception;

    public boolean modifyMessage(Connection conn, User user) throws Exception;

    public boolean modifyPassword(Connection conn, User user) throws Exception;

    public User getUserMessage(Connection conn,String usercode) throws Exception;
}
